Added comments & cleaner way to handle invalid operations on pcbs