Added basic pmm functions