user model math