Adds functioning security