edited result module and added new procedures