Updated for clarity

For people that may want to reuse the code

Signed-off-by: Jonathan Tomek <jonathan.tomek@gmail.com>