Optimize. Now it works bad.