adds some validatio and updated readme