Fixed simple example for pins