change positioning of else