using pi piper properly