hack around to make configurable

tidy this up one day