updated readme
made params option and nullable