rewrote slug part