Implemented new method to receive program code