I think there is an extra space between if and state