Second section of Function w/ternary statement comment added
added workspace file to idea folder