change how marker is added