common wrapper class