bug fix - no longer splice arrays at -1
add basic comparator for user