simplifying check, was getting too complicated for no reason