Optimize semantic