Put main solely for testing purposes. To be deleted later