get based code