listing functions definitions