added shared code in concerns