replace task
first working version