added dynamic plot controls