use pyobj instead of string