Added second pass to compiler