did i do right?

As long as you were at rest and not doing other work then yes you could have.