added modified long.c