added comment for error checking