removed useless `fname` function