change views to func