first part of command implemented