updating some files and tweaking with an attempt at a matrix task