refactor. added all :: MyType