spec methods