Prototype of getIssues to see what it does