added maml and some other parts