UP kinda works. Need to use slice and cat instead of splice.