deleted progressbars, used switchcase operator for statuses