removed return statements to more equal the other scenrio