upped buffer size and accuracy