add tag functions on entity