Changes with add new struct, change private function and add get_status function