remove unnecessary statements
update to use color module