small changes, got key and item encryption done, debating whether to switch to time based history