trying to work it out