I don't believe this handles null correctly.