add code reading