adds a function (currently unused) to detect an enter press