Using more generic types (ex: List instead of ArrayList)