Add object declaration on paiment
Rem duplicate code