Seperate code for HomeMessage.cpp