bug fixes
part2&3
bug fixes
added rag's code
merged with prev
merged with lewis