Used hashes to make code clearer