changes for community 2 and added widget