some security stuff working