The code is ready, but does not work