Wrapped my head around functional coding :)