implemented some specs