changed Thought to use slug as primary key too