* factorial func added.