add psm context and business logic