refinments for quick and merge