some simple pat problems