Also no space after the opening parenthesis of MIN ;-).