minor optimisations designed to reduce processing overhead