added loader indicator