added PosSystem class