added papertrail stuff