added security measures