Adding more logic to render points