moved paricles data into particle class