change method by variable