Working version of lizard-map