add applist as paramater