added logging to target hopefully it will work