some error handling and styling