using modulo % to come up with remainder