=nest method can now also get a list. add get_dimensions method