enable code box for functions