trying new logic