separate input and tax from into 2 models, and linked the two