removed unnecessary color handling