Changed canEarn to be a bool