function 1 added