start of the test code
finished but unworking code :)