compatibility with PI