added keypresses, next step resizing