dev_1.0

Use curly braces po even the statement is only one line. 
It will be more easy to read or track the if/else with curly braces