Grouping accelerometer functions