some specs and spec helpers