added interface for adding texts to svg