tuple and entity