total advances