more general function application
apply is working
map is working!