addded multilib funtion