add db instructions and fix formating