added code for rebilling