one function, multiple bodies