formatted the input, began thinking about the main task