added autocolor
improved documentation