simplify codes and user interfaces