make object differntiable