made gotsigint variable static. Also fixed values struct pointer to be initialised properly.