- make the error margin adjustable
- add README file