add object set method to store individual objects