simplify return statement