added documentation for -p