extract method wrapper