main class for testing