but still not sure if this is the right way to solve it, can you explain what happened?