made some preliminary testing code that works