playing around with keyListener
resolved conflicts