Removed In-Line if

Removed In-Line If statement to make code more readable