cloned from NetFlix/curator