added garbage collection to conversion