add code to goods