more readable if statment than terninary statment