added spec methods