Can now potentially save selected Id's to database