ok I should not be coding to a deadline ... grrr