data seperated from the class, fixed shuffle method