tweaked with trishume's config