basic codes in LEDA