some basic work on entities