still cant get sameData working