idea: use int instead of short. sheesh!