deleted unused helper method and spec