Added generateGET method