removing bin and gen