trying to work out #36