added a canMine boolean to see what we can mine