created helpers for specs