added code to dump args to console