not the method that worked, but close