Working : saveInfo function