Adding the derived.cpp source for commit
Forgot to add this changes.