created functions for issues and 
created issues