added command type with two parameters
renamed data to param