def create_obj(conn, new_object):
    """
    Create a new object into the allObjects table.

    Parametesr
    new_object (tuple): a tuple containing (name, )

    Returns
    obj_id (int): idea of the new created object in the database
    """
    sql = ''' INSERT INTO allObjects(name)
              VALUES(?) '''
    cur = conn.cursor()
    cur.execute(sql, new_object)
    conn.commit()
    return cur.lastrowid