beginning to implemet level x bounds