added full method and call of coreFunction