add esc() method