Made the first piece of code for getting II data