getting list output