use a hash to store different profiles. needs bash 4