added if attribute