optimized templates
added friends list