added if total