methods declared and basic code structure laid out