simplifying to get it to work