adding viewport stuff