Solving problems in Result class and Base module