use associative arraykeys to read values from db