main method 

the main method for quick integration