colorized output, moved method to the right place