changed command functions.