first commit
working prototype
fixing params bug and updating example