removed int round from rounds() prototype
some variable names changed