adding escapes to final- working version