Added error checking and data hiding.