work on escaping functionality