please use brackets for if and for when you nest stuff - it is hard to read otherwise