added features of l and r with effects