added custom adapter