Distance and age of a star cluster