funcjs 6 to 13, getting into some weird functional shit