basic code structure now in place