added interface and impl for command (not ended)