blah
bool isInt function and fixing of struct function