added is_loaded flag