Mokos written in java