added once method

A useful utility method (if my implementation works)