Added Error Messages and input function