yay, some logic works