pan shouldn't be commented out