DRY up some code, make it editable with title wootish