auto_ret is initialized to hash and now you add there boolean? looks confusing for me