changed raw buffer from 240 to 320