adding new action function