creating svg image each time