added escKey stuff