api works a bit for pms