Assignment Generator fixed