added helper for spec