first codes and tryouts for front-end