adding loading task

adding loading task