adds two methods and spec