all set, except for profileid input
needs actual profileid -- to fix. also commented out some stuff for data export table.