optimizations. makes this ajar useful for UI now.