Removed Unneeded ext.
Added a Loop Optimisation