converting to polymer elements