Optimalization.
end is stupid