final version of pad