add first function to the extension