initial work for adding collision