Modified returnError() so it wouldn't give us errors, lol