definining entities