add defaults. Closes #4