added more pin stuff