added incoming command handler functions