Fixes #12
Fixes #13 and removes console.log statements
Fixes #14 and gives meaningful names to variables