Moving structure to h file and changed char to short for position