more robustness. trying to get pen working