Added basic pmm funcstions