removes extra stuff. adds ball to layout.