removing deprecated class