Math entry model at controller