Remove until statement. make read function lower case