lot of it working - not sure how :-(