adding check security