Improve extract method output