some meager attempts to speed up compile time