changed dimensions to bounds