Initial Merged Code