code complete for design - it does not work tho!