pulled out folloing methods into module in concerns as following concern: