Removing the need for a temp variable