fixing specs adding documentation