Uploading the resto of the files, now the function has been corected to use only nececary personal data.