Implemented running with objects