adding final element step