change frontend structure