updated after spec changed