Converted ints to shorts, added getFielState function