error checking appended.