define this before we use it