function to generate the information to system 2