implemented the commands following the new architecture