added escape class and helper