added some tools for the view