Added better docs and example