coses #2
implemented api specs