Detached map - @phanikiranur can you please review the code.