Added min declaration to the top

Don't know why this wasn't done O.o