add custom adapter class