deleting legacy method