got the logic down yay