addition of new logic