most things working.. adding code creation and validation