how this program really work