map call  to actions with functions