Added .cpp code for live functions
Added .cpp code for live functions