added code to get a single list