added assignment answers, improved security