basic ball detection implemented