moved custom functions to eval charts module