modernizing obj c