started to implement a testing routine