New version and derivations working for exercises