Error Handling and Input Validation added
Error Handling and Input Validation added