all views models tempaltes in place, add lookup function