switch old view new view