added simple speed test and made writes faster