should be marked as @deprecated