Rewrite show point info function