restructred inputpoint painting