Outlined the main function, adding dummies