changed static syntax to conform to icpc