attempt to optimize double pointer indirection