add buffer option to collision, basic interaction programming done