tested in console

tested in console