Added mka as a function