modifying globals