pad generation documentation