optimizing frontend