implemented basic view structure