Cycloadditions with acylhydrazones, selective diastereomeric pyrazolidine synthesis and nitrile acylimine synthons