modify to add two view