implemented returning last n elements