Added some prompt functions. Will integrate these throughout code in the future, to save space. Fixed errors in check for previous results.