indented code
if else ladder bug resolved :star: