Add a new method: getFirstMethod