horrendous code alert, do not look. shoving a whole load of crap under the carpet aka shipbuilder.