adding function actions