added create a problem function but left unfinished