added a little testing! will do much more later