changed version 1 to version 2