written gprof
BC todo solved i hope