Add extract method