be more concise, take tristimuli by reference