optimization and adding special color features
code optimization