add commends to function.clp