Ball collission checking added