fixed computer logic to make it a wee bit smarter