made function util_get_seq_values even more simpler