working on types for lists