some changes
fucntioning prototype
working protoype
some minor changes