spec for a function!