svg prototype improvements