Changed array to hash and include module