still trying to get main to format correctly