escape function added