loop 1 does not work