add main method for testing