add models base funcs