split view and history, but there's still an insert bug :(