1before function 2before dotcmd 3before function 4before return 5after function 6after dotcmd 7after function 8