This is a work in progress code from my third year major project