static variables should be at the top