Try code in a list