Debugged Feature 1

debugged minor errors