added to helpers for spec tests