reduce number of assignments. Up to the world to decide if this is more readable