changed mods and libs to better represent pins