add fade and animation API