assigning funcionality2