add effect when loading