pausing and rect underlay added