move data to main views