Then you can look at EP's code and learn. Never re-invent the wheel.