moved views to separate file