add libs
select fence behaviour