Call function from M