added method to return array from wuqf