minor edits/still need to fix bug with board boundry checker