message resource fully working