reindent + add functools.wraps() in proper places