added an object with a main method just to show how it's working