removed redundanted defer and updated description