Working version of curate