Updated to a new object for positions
+ fixed a bug when adding pads