this is the real working version, ready for the field!