moved views into public