Modifications:

 

Basification is an irreversible operation.