fixed typo
creating custom adapter