add command functions