Eagle modified code