fixed timeout error & added some result output