again ... really close, need to fix issue with insert query