Glasses, replicas and all that