On the theorem of Jarník and Besicovitch