changed whole commands to code format