adding  managed renderstates