How to use ext to programming.