error checking works now