first go at this resizein problem