Added rename functionality