some style changes, complete finite difference and example