added spec coverage