Writing custom unit models

Writing custom unit models#