modified implementation of precision feature