Add temporary constructor and toString method