Made everything smoother + uses R now