setting bounds object