work in progress but posting for others to see