Made programming process more robust.