added escape feature.