Doing something similar to jgrahamc/jeaig for the sake of learning