add elements and animation