added through error checking