extend model fns