extract Function as well
extract Function as well