added new_square and new_saw functions to gtable header file