added spec
ref conditions