working out the details