So if I put the endif between the other two statements if will be fine ?