Procedure recognition: both new and old syntax included