added thesis type & cleaned up indents