transition hooks/actions can be strings(function name) now