version 0.0.4: more router implementation