working on method security