objects can now be removed by pressing space