We don't need first if then. Can you remove it?