modified the for