loading items to different arrays based on the status