- objects need to be compiled when added to the document