making immutable entity