trying to pass the commands correctly