added returning if seq < min