improving performance in both sides