placing a and b markers