write sr to function
add ui for pRolocVis2