Just a simple refactor of the original code. Yet nothing usefull. =]