why create a function, when you can return an object instead
jshint all the things