added distance and color options