Added getList function