added several conversion methods