Modified Steve thorley post so it fits into pane better