Custom adapter class added