outbouund refactored and open question mark issue fixed