Unused variable $defpay removed