Removing unnecessary gen and bin