Fixed all compilation errors. But rendering not showing.