add interface and method to get generic collection