had typed if instead of it for some tests