getting section display to work, having trouble passing variable