add detail information in ls.c