added registration and svg code