rm gen and bin