Add returns to main method