rm depricated function
finally figured out how to make decorators for generators! it was beasley 2008 all along :)