create moments with objects

Pretty straightforward, but see my question in the code.