need to add specs to this, not entirely sure how