Add new functions and testing the cmds.