Added motivation for language and environment and rewrote method