added in new function and fixed tons of visual things