got wit logic working