demo model without exception handlings implemented