Started working on RAM buffe, currently works like crap