added DTEND to get statement