added command functions