i think clear() is not needed here