matway and ksp