now it does the job