use assoc arrays instead of single scalars