brought over resourcia and profile