printValues method and spec