Some logic in Main for testing purposes. First all day test tommorow