cleaner way of doing the striding on the last part