working on security libs