implemented wikipedia library functions