Opensource class created by PlanetRIA