select and paint