First version of link_state to test