Load messages function addes (not working)