add destroy and dry code