trying to implement ploy