changes to the picking code
provides utility methods for colorpickung