Added more functionality to design view