Adds read_at_least function