make separated function for complete_status