Input Validation & Error Handling - trial