if clause and main clause