asking all commands to take peripherals to allow for easier mocking