polished before inputs