added tmp arra to removal