preparing to merge
adding logKey and playing boolean to keydown and up