added a summary and some other fixes