Slight code reduction