hash without array or if's