cleaning up precision script