functionality of run allows it to be executed from anywhere