an attempt at a keylogger