delete legacy class