added gres module