ase, with func