changes for using BASIC security