Coded three decision branches, added new language as per collaborators' request