add method structure