Optimize thissss.