simplified return logic