add method expression security