removed return statements