remove private method