updated documentation and added first example