added sanity to set precision