added skeleton for space key handling