implemented command protocoll interface