changed to hash improve readability