more shared code on communities screen