register entity