Convert to meta and optimization