refactoring create_mk