Add condition attribute