added view skeleton code