first commit of mod code