Groups functions and change user data in different functions