changed pin frontend