ignore bin directories. Removed unused code