added logging statement and removed old task