before function before dotcmd subshell start before return after dotcmd after function