add function for pcb item generate