basic api for recording works