Updated to coding standards and added error message