added is_loaded to Line