removed empty if/then statements