Else if condition added