added loading on every action