trying to sort it out