updated my geoms function