prototyped implementation of security