Edited Tesla Animation code 2