putting together model for commands