compose pm functionality added