add previous cpp files