Added error message just a rough sketch