added minutes/seconds to wait_for_result