try to return something from foreach step