helper files for adding credit