minor efficiency improvements to instructions