retrieving orders into a hashmap + some debug