code from the testing
added some commands from my testing