added some functions, but not compiling because of overloaded chaiscript issue...