listener for objectCreation