added escape method