Fixed compatibility
Added example