trying out generics