Based on the Hamiltonian map approach, the relation between correlations in a site potential and the localization length has been established. It is shown how to construct numerically a site potential with mobility edge at any given energy inside allowed zone. We also suggest to use chaotic trajectories of non-linear maps to generate potentials with long-range correlations and give a numerical evidence of the mobility edge by making use of the standard map.