implementing loading statuses