minor changes. all functions work.
all functions working. minor changes made