conversion

VALIDATE THE RETURNED VALUE!!! IF VALUE LESS THAN 0 THROW ERROR