add uml for static factory method