upd with sample data and error calc