implemented hekd key repetition