I don't like returning None on error, but for now we shall leave it like that, and change it later.