Streamlining insert() a bit, it's broken for the moment though