updated person methods to include error handling