log & reg done, working on gmap