Fixing issue #6, reformatting

fixes issue #6