changed the intermediate assignment