Try to remove function return char* to receive char* as param