added gradient_rect