add base functions: create objects and list code