added color array to arrtime fct