move sort methods
optimise map elements
optimise map elements
optimise map call elements