Updated example usage.. api needs improvmnets