again with the error check